import { DEVPLAYLIST, DEVPLAYUPDATE, DEVPLAYCLOSESCREEN, DEVPLAYOPENSCREEN } from "./api";
import { METHOD, request } from "@/utils/request";

export function list(params) {
    return request(DEVPLAYLIST, METHOD.GET, params);
}
export function update(params) {
    return request(DEVPLAYUPDATE, METHOD.POST, params);
}
export function closeScreen(params) {
    return request(DEVPLAYCLOSESCREEN, METHOD.POST, params);
}
export function openScreen(params) {
    return request(DEVPLAYOPENSCREEN, METHOD.POST, params);
}
